﻿namespace Oddo.Concept.Crm.Common.Presentation.Infrastructure
{
    using System.Windows.Input;
    using System.Windows.Media.Imaging;
    
    public class MenuItem
    {
        public MenuItem(string parent, string title, ICommand command, object commandParameter)
            : this(parent,title,null,command,commandParameter)
        {
        }

        public MenuItem(string parent, string title, BitmapImage image, ICommand command, object commandParameter)
        {
            Parent = parent;
            Title = title;
            Image = image;
            Command = command;
            CommandParameter = commandParameter;
        }
        public bool BeginGroup { get; set; }
        public string Parent { get; set; }
        public string Title { get; set; }
        public BitmapImage Image { get; set; }
        public ICommand Command { get; set; }
        public object CommandParameter { get; set; }
    }
}